from dbutil import Util

# sql = 'select * from t_book'
# sql = 'insert into t_book(id,title,pub_date) values(4,"西游记","1986-01-01")'
# sql = 'update t_book set title="东游记" where title="西游记"'
# sql = 'insert into t_hero (id,name,gender,description,book_id) values(1,"郭靖",1,"降龙十八掌",4);'
# sql = 'delete from t_hero where id = 6'
sql = 'delete from t_book where id=4'
result = Util.execute_sql(sql)
print(result)
